//var ruid=localStorage.getItem("ruid");
//alert ("+++"+ruid)
function Ubike(ruid){
	var jsonobj={"handleid":4,"userid":ruid};

	$.ajax({
	type:"post",
	url:"handle/handout.php",
	dataType:"json",
	data:jsonobj,
	 
	success:function(data){
		console.log(data.rs);
		if(data.rs=="error"){
			alert("用户车辆初始失败");
		}
		//正确的情况
		if(data.rs=="success"){
		}

	},
	error:function(responexml,name){
		alert("loadb"+name);
	}
});
}
function Urider(ruid){
	var jsonobj={"handleid":5,"userid":ruid};

	$.ajax({
	type:"post",
	url:"handle/handout.php",
	dataType:"json",
	data:jsonobj,
	 
	success:function(data){
		console.log(data.rs);
		if(data.rs=="error"){
			alert("用户骑手初始失败");
		}
		//正确的情况
		if(data.rs=="success"){
		}

	},
	error:function(responexml,name){
		alert("loadb"+name);
	}
});
}
function Uequip(ruid){
	var jsonobj={"handleid":6,"userid":ruid};

	$.ajax({
	type:"post",
	url:"handle/handout.php",
	dataType:"json",
	data:jsonobj,
	 
	success:function(data){
		console.log(data.rs);
		if(data.rs=="error"){
			alert("用户装备初始失败");
		}
		//正确的情况
		if(data.rs=="success"){
		}

	},
	error:function(responexml,name){
		alert("loadb"+name);
	}
});
}
function Umission(ruid){
	var jsonobj={"handleid":7,"userid":ruid};

	$.ajax({
	type:"post",
	url:"handle/handout.php",
	dataType:"json",
	data:jsonobj,
	 
	success:function(data){
		console.log(data.rs);
		if(data.rs=="error"){
			alert("用户关卡初始失败");
		}
		//正确的情况
		if(data.rs=="success"){
		}

	},
	error:function(responexml,name){
		alert("loadb"+name);
	}
});
}